package lab02.test07;

/**
 * Created by V555 on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        Person zheng=new Person();
        zheng.name="zhengyulin";
        zheng.age=20;
        zheng.idcard="123456678";
        System.out.println(zheng.getString());
        Student chen=new Student();
        chen.name="chen";
        chen.age=19;
        chen.idcard="2323444";
        chen.university="sctu";
        chen.sno="1234";
        System.out.println(chen.getString());

    }
}
